package com.example.mvvmdemo.taobao

import com.example.mvvmdemo.api.RetrofitClient

/**
 * @author Liyg
 * @description: 从服务器上获取数据
 * @date :2020/11/3
 */
class OnSellRepository {

    suspend fun getOnSellList(page:Int) = RetrofitClient.apiService.getOnSellList(page).apiData()
}